<template>
  <el-button type="primary" :icon="ElementPlus">Element Plus</el-button>
  <router-view />
</template>

<script setup lang="ts">
import { onMounted } from 'vue'
import { ElementPlus } from '@element-plus/icons-vue'
import user from '@/api/sys/user'

onMounted(() => {
  user.findAll()
})
</script>

<style scoped></style>
